package com.hskn.hss.module.alarmcar.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.core.domain.BaseEntity;
import com.hskn.hss.core.page.TableDataInfo;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.alarmcar.entity.AlarmCar;
import com.hskn.hss.module.alarmcar.entity.AlarmCarCharts;
import com.hskn.hss.module.alarmcar.entity.AlarmCarFull;
import com.hskn.hss.module.alarmcar.vo.AlarmCarTableDetailVO;
import com.hskn.hss.module.carviolation.entity.CarViolation;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-21
 */
public interface IAlarmCarService extends IService<AlarmCar> {

    void deal(JSONObject params) throws HssException;

    JSONObject mList(BaseEntity entity, JSONObject params) throws HssException;

    JSONObject getAbnormal() throws HssException;

    JSONObject getCarPolice(JSONObject params) throws HssException;

    JSONObject collectList(JSONObject params) throws HssException;

    List<AlarmCarCharts> selectAlarmCarForTable(AlarmCar alarmCar);

    List<List<Object>> selectAlarmCarForCharts(AlarmCar alarmCar) throws ParseException;

    TableDataInfo selectAlarmCarForTableDetail(AlarmCar alarmCar);

    List<AlarmCarTableDetailVO> selectAlarmCarForExcelDetail(AlarmCar alarmCar);
}
